package com.haoshuang.zhouzhoubang.ui.dialog

import android.content.Context
import com.haoshuang.zhouzhoubang.R
import com.haoshuang.zhouzhoubang.databinding.DialogHelpDescriptionBinding
import com.lxj.xpopup.core.AttachPopupView
import com.lxj.xpopup.core.CenterPopupView
import com.lxj.xpopup.core.HorizontalAttachPopupView

/**
 * 
 */
class HelpDescriptionBottomDialog(context: Context, private val content: String): AttachPopupView(context) {

    private lateinit var binding: DialogHelpDescriptionBinding

    override fun getImplLayoutId(): Int {
        return R.layout.dialog_help_description
    }

    override fun onCreate() {
        super.onCreate()
        binding = DialogHelpDescriptionBinding.bind(popupImplView)
        binding.tvContent.text = content
    }
}